package org.tlipoca.smarticletag.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.genntii.smdomain.entity.ArticleTag;

import java.util.ArrayList;

@Mapper
public interface ArticleTagMapper extends BaseMapper<ArticleTag> {
    Integer selectArticleTagCountByIds(ArrayList<Long> tagIds);

    ArrayList<ArticleTag> selectArticleTagListByIds(ArrayList<Long> tagIds);

    @Select("select * from Article_Tag;")
    ArrayList<ArticleTag> selectArticleTagList();
}
